package cn.itcast.tanhua.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * user实体类主表
 * @author 郭文亮
 * @since 2021/11/22 19:04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User extends BasePojo {

    /**
     * mobile-》手机号
     * password-》密码，json序列化时忽略
     */
    private Long id;
    private String mobile;

    @JsonIgnore
    private String password;
    private String status;

}